package com.yunkeji.config.properties;

import lombok.Data;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 读取项目相关配置
 *
 * @author 老张
 */
@Data
@Component
@ConfigurationProperties(prefix = "shanyan")
@ToString
public class ShanYanProperties {

    private String appid;
    private String appkey;
    private String appidTwo;
    private String appkeyTwo;
    private String privateKey;
    private String gatway;
}
